<!--
 * @Author: zhoujinlong 765637726@qq.com
 * @Date: 2024-04-07 08:33:09
 * @LastEditors: zhoujinlong 765637726@qq.com
 * @LastEditTime: 2024-04-07 11:24:37
 * @FilePath: \pc\src\components\somkeTop.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="smoke-title">
    <!-- 评吸管理title -->
    <!-- <h1>{{ '单点评吸详情' }}</h1><lay-button size="sm" @click="close">关闭</lay-button> -->
    <h2>{{ title }}</h2>
    <ul>
      <li v-for="item in list " :key="item.id">{{ item.name }} :{{ item.content }}</li>
    </ul>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router';

const router = useRouter()
const props = defineProps(["title", "list"]);

// 关闭
const close = () => {
  router.go(-1);
  //   router.push("/smokePanel/metting");
};
</script>

<style scoped lang="scss">
.smoke-title {
    ul{
      margin-top: 30px;
        display: flex;
        li{
            margin-right: 80px;
        }
    }
}
</style>